<table width="100%" cellspacing="0">
	<tr class="dong2">
		<td colspan="11"><input type="button" onclick="ThemSeller()" value="Thêm Seller" class="btnThem"/></td>
	</tr>
	<tr class="dong1">
		<td class="khung">Mã ND</td>
		<td class="khung">Tên Đăng Nhập</td>
		<td class="khung">Mật Khẩu</td>
		<td class="khung">Mã LND</td>
		<td class="khung">Tên LND</td>
		<td class="khung">Email</td>
		<td class="khung">Quyền</td>
		<td class="khung">Kích Hoạt</td>
		<td class="khung">Bị Xoá</td>
		<td class="khung">Sửa</td>
		<td>Xoá</td>
	</tr>

<?php
	include("../lib/DataProvider.php");
	
	$ds=DataProvider::ExecuteQuery("select nd.MAND,nd.TENDANGNHAP,nd.MATKHAU,nd.MALND,lnd.TENLND, nd.EMAIL, lnd.ROLE, nd.KICHHOAT, nd.BIXOA from nguoidung nd, loainguoidung lnd where nd.MALND=lnd.MALND");
	$mau=0;
	while($row = mysql_fetch_array($ds,MYSQL_ASSOC))
	{
		$MaND=$row["MAND"];
		$TenDangNhap=$row["TENDANGNHAP"];
		$MatKhau=$row["MATKHAU"];
		$MaLND=$row["MALND"];
		$TenLND=$row["TENLND"];
		$Email=$row["EMAIL"];
		$Role=$row["ROLE"];		
		$KichHoat=$row["KICHHOAT"];
		$BiXoa=$row["BIXOA"];
		?>
		<tr class="<?php if($mau%2 ==0) echo "nhat"; else echo "dam";?>">
			<td class="khung"><?php echo $MaND;?></td>
			<td class="khung"><?php echo $TenDangNhap;?></td>
			<td class="khung"><?php echo $MatKhau;?></td>
			<td class="khung" align="center"><?php echo $MaLND;?></td>
			<td class="khung"><?php echo $TenLND;?></td>
			<td class="khung"><?php echo $Email;?></td>
			<td class="khung" align="center"><?php echo $Role;?></td>
			<td class="khung" align="center"><?php echo $KichHoat;?></td>
			<td class="khung" align="center"><?php echo $BiXoa;?></td>
			<td class="khung" align="center"><a href="?act=5&sk=2&ID=<?php echo $MaND;?>"><img src="img/edit.png" width="25"/></a></td>
			<td align="center"><a href="?act=5&sk=3&ID=<?php echo $MaND;?>"><img src="img/del.png" width="25"/></a></td>
		</tr>
		<?php
		$mau++;
	}
?>
</table>